package com.marketfarm.client;

import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.DecoratorPanel;
import com.google.gwt.user.client.ui.HasHorizontalAlignment;
import com.google.gwt.user.client.ui.HasVerticalAlignment;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.VerticalPanel;

public class Header extends Composite {

	public Header() {
		
		DecoratorPanel decoratorPanel = new DecoratorPanel();
		initWidget(decoratorPanel);
		
		VerticalPanel verticalPanel = new VerticalPanel();
		verticalPanel.setVerticalAlignment(HasVerticalAlignment.ALIGN_MIDDLE);
		verticalPanel.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER);
		decoratorPanel.setWidget(verticalPanel);
		verticalPanel.setSize("644px", "80px");
		
		Label label = new Label("Market Farm");
		label.setStyleName("font-30");
		label.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER);
		verticalPanel.add(label);
		label.setSize("803px", "40px");
	}

}
